﻿//=================================================================================================
// KBC Version: 	00.01.06
// Date:		2025/01/03
// Base:		v000105
//=================================================================================================
1. Fixed EC sleep before PD power sharing switch.

//=================================================================================================
// KBC Version: 	00.01.05
// Date:		2024/12/27
// Base:		v000104
//=================================================================================================
1. Added PD power sharing disabled in battery mode when system in S4/S5.
2. LTE power disable without countdown 1 sec(100 ms * 10).
3. Modify read CPU temperature by eSPI.

//=================================================================================================
// KBC Version: 	00.01.04
// Date:		2024/11/07
// Base:		v000103
//=================================================================================================
1. Set ESPI_MAX_FREQ = 33MHz
2. Fixed RF_LED on when system turn on issue.
3. Modify read CPU temperature by PECI.
4. Fixed NIGHT_VISION PWM (DCR6 = 0x00). When the power state is S5.
5. Modify ME_SECU does not change in S0toS5.

//=================================================================================================
// KBC Version: 	00.01.03
// Date:		2024/10/04
// Base:		v000102
//=================================================================================================
1. Fixed battery status display issue.
2. Fixed the outage when power on PD adapter only issue.
3. Fixed battery hot-swap counter fail while turning on system.
4. Fixed second battery LED issue.
5. Fixed second battery charge when main battery discharge in battery learning.
6. Fixed Battery LED from BATTERY_LOW to BATTERY_ERROR.
7. Adjusted battery charging abnormal temperature from 50'C to 60'C.
8. Fixed Battery LED when battery full charge(about 95 ~ 96 percent).
9. Fixed hot swapable battery function.
10. Modified battery hot-swap timeout to 1 minute.
11. Modified to support two eSPI devices.
12. Modify SYS_ON low to be 10 seconds after entering shutdown.c
13. Fixed PWRSW can't boot when battery only and battery lower than 10 percent.

//=================================================================================================
// KBC Version: 	00.01.02
// Date:		2024/07/01
// Base:		v000101
//=================================================================================================
1. Added battery low temperature start detection.
     Battery Temperature < -20'C: Set CPU_PROCHOT_EC Pin to High.
     Battery Temperature > -15'C: Set CPU_PROCHOT_EC Pin to Low.
2. Added H2RAM COMMAND 0x71:
     data 0x00: Disable PD Port.
     data 0x01: Enable Pd Port.
3. Fixed Windows flash EC function.
4. Added copilot key.
5. Added hot swapable battery function.
6. Powershare off when AC out and battery percentage below 20 percent.
7. Disabled PD2 source current control (3.0/1.5A) function.
8. Fixed UCSI issue.
9. Set WWAN_PWR High when S5toS0. Supports EM9191(5G).
10. Added PROG2 Touch Mode.

//=================================================================================================
// KBC Version: 	00.01.01
// Date:		2024/03/05
// Base:		S15ABG3 v000114
//=================================================================================================
1. Based on AMI ITE5571 ver:F code base and "202401261_S15ABG3_ADL_TwinHead_000114".
2. Modify eSPI ALERT# to INPUT function(only one eSPI device).
3. Set PECI VTT to 1.25V.
4. GPIO Initial configuration beased on "Z14G3_ckt_mtl_ra.pdf".
5. Power sequence based on "TURN_ON_POWER.TXT", "TURN_OFF_POWER.TXT" and "Load GPIO Config.TXT".
6. ChargerIC initial setting based on "ChargerIC Initial.TXT" and "isl95521a_ds-2016-05-09.pdf".
   Modify ISL9241 to 3-cell.